package com.sjsm.sjsmscenerecord.adapter;

import android.content.Context;

import com.sjsm.sjsmscenerecord.holder.BaseListHolder;
import com.sjsm.sjsmscenerecord.holder.MyProjectHolder;

import java.util.List;
import java.util.Map;

/**
 * Created by hasee on 2017/8/21.
 */

public class MyProjectAdapter extends BaseListAdapter <Map<String,Object>>{
    public MyProjectAdapter(List list, Context context) {
        super(list, context);
    }

    @Override
    protected BaseListHolder getHolder() {
        return new MyProjectHolder(super.context);
    }

    public void setData(List<Map<String, Object>> items) {
        super.list = items;
        notifyDataSetChanged();
    }
}
